package com.xiaochong.bitong.api.config;

import org.springframework.beans.factory.annotation.Value;
import org.springframework.boot.context.properties.ConfigurationProperties;
import org.springframework.context.annotation.Configuration;
import org.springframework.stereotype.Component;

/**
 * @Project : xc-tir
 * @Package Name : com.xiaochong.bitong.api.config
 * @Description : TODO
 * @Author : daizhiqing@xiaochong.com
 * @Creation Date : 2018年08月30日上午10:49
 * @ModificationHistory Who When What
 */
@Component
@Configuration
@ConfigurationProperties(prefix="server", ignoreNestedProperties = false)
public class H5Url {

    private static String url;

    private static String report;

    private static String knowledge;

    public static String getUrl() {
        return url;
    }

    public static void setUrl(String url) {
        H5Url.url = url;
    }

    public static String getReport() {
        return url+report;
    }

    public static void setReport(String report) {
        H5Url.report = report;
    }

    public static String getKnowledge() {
        return url+knowledge;
    }

    public static void setKnowledge(String knowledge) {
        H5Url.knowledge = knowledge;
    }
}
